package com.mccken.eshop.order.api;

import com.mccken.eshop.common.code.JsonResult;
import com.mccken.eshop.order.domain.request.CreateOrderParams;
import com.mccken.eshop.order.domain.request.GenOrderIdParams;
import com.mccken.eshop.order.domain.response.CreateOrderResult;
import com.mccken.eshop.order.domain.response.GenOrderIdResult;

/**
 * 订单中心-正向下单业务接口
 */
public interface OrderApi {

	/**
	 * 生成订单号接口
	 */
	JsonResult<GenOrderIdResult> genOrderId(GenOrderIdParams params);

	/**
	 * 提交订单接口
	 */
	JsonResult<CreateOrderResult> createOrder(CreateOrderParams params);
	
}
